#include <cstdlib>
#include <SDL/SDL.h>
#include "game.hpp"

using namespace std;

int main ( int argc, char** argv )
{
    game test;
    test.run();
    /*cout << "pre";
    SDL_Surface *test = NULL;


    cout << " 1 - ";
    init(test,640,480,"Test");
    test = SDL_SetVideoMode( 640, 480, 32, SDL_SWSURFACE );
    cout << "2 - ";
    SDL_Surface *temp = NULL;
    temp = load_image("largeMap.bmp");
    SDL_Surface *temp2 = load_image("player.bmp");
    if(!(temp == NULL))
    {
        apply_surface(0,0,temp, test);
        apply_surface(40,40,temp2,test);
        SDL_Flip(test);
        cout << "3";
    }//*
    SDL_Flip(test);
    SDL_Delay(2000);//*/
    return 0;
}
